$OpenBSD: patch-src_plugins_ipmi_intf_c,v 1.3 2016/05/07 14:18:12 sthen Exp $
--- src/plugins/ipmi_intf.c.orig	Fri May  6 15:48:54 2016
+++ src/plugins/ipmi_intf.c	Sat May  7 14:36:27 2016
@@ -32,6 +32,7 @@
 #define _XOPEN_SOURCE 700
 #define _GNU_SOURCE 1
 #define _DARWIN_C_SOURCE 1
+#define _BSD_SOURCE
 
 #include <stdio.h>
 #include <stdlib.h>
